﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Maxima.Common;
using Maxima.Comlib;


namespace Test.AppServer
{
    class Program
    {
        static void Main(string[] args)
        {
            ///Server Test
            //Test1: Uncomment following loc; Using CServer, synchronous server process.
            new CServer().Connect();

            ///Test2: Uncomment following loc; Using AsyncServer, better performance
            //AsyncSvr.StartListening();


            ///Test3: Client Connectivity Test
            //CClient client = new CClient("127.0.0.1", 9991).Connect();
            //client.Send("this is a test");
            
            //Test4: AsyncClient
            //AsyncClient client = new AsyncClient();
            //AsyncClient.StartClient();

            Console.WriteLine("Hit enter to continue...");
            Console.ReadKey();
        }
    }
}
